func vendor/golang.org/x/net/http/httpproxy.hasPort

one use

	vendor/golang.org/x/net/http/httpproxy (current package)
		proxy.go#L297: func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }